<?php



class TabServiciosEnteMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.TabServiciosEnteMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('xaman');

		$tMap = $this->dbMap->addTable('tab_servicios_ente');
		$tMap->setPhpName('TabServiciosEnte');

		$tMap->setUseIdGenerator(false);

		$tMap->addPrimaryKey('CF_ENTE', 'CfEnte', 'string', CreoleTypes::VARCHAR, true, 10);

		$tMap->addPrimaryKey('CF_SERVICIO', 'CfServicio', 'string', CreoleTypes::VARCHAR, true, 5);

		$tMap->addPrimaryKey('CF_SUBSERVICIO', 'CfSubservicio', 'string', CreoleTypes::VARCHAR, true, 45);

		$tMap->addColumn('PRECIO', 'Precio', 'double', CreoleTypes::FLOAT, true, null);

		$tMap->addColumn('ESTATUS', 'Estatus', 'string', CreoleTypes::CHAR, true, 1);

	} 
} 